﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<TBlog.Models.ViewData.PostModel>" %>

		<!-- left-columns starts -->
		<div id="left-columns" class="grid_8">
			
            <div class="grid_4 alpha">
				<div class="sidemenu">
					<h3><%=ConfigurationManager.AppSettings["category"] %></h3>
					<ul>
                        <% foreach(var c in Model.Categorys){ %>
                            <li><%:Html.ActionLink(c.category_name, "Category", new { id = c.category_id })%> (<%=c.Posts.Count() %>)</li>
				            
                        <% } %>
					</ul>
				</div>
				<div class="sidemenu">
					<h3><%=ConfigurationManager.AppSettings["Archives"]%></h3>
					<ul>
                    	<li>aaaa</li>
					</ul>
				</div>
			</div>            
			<div class="grid_4 omega">
				<div class="sidemenu">
				<h3><%=ConfigurationManager.AppSettings["meta"] %></h3>
                <ul>
                    <% Html.RenderPartial("LogOnUserControl"); %>
                <li><%: Html.ActionLink(ConfigurationManager.AppSettings["home"], "Index", "Home")%></li>
                <li><%: Html.ActionLink(ConfigurationManager.AppSettings["category"], "About", "Home")%></li>
                <li><a href="http://validator.w3.org/check/referer" title="This page validates as XHTML 1.0 Transitional">Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr></a></li>
                <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
                <li><a href="http://wordpress.org/" title="Powered by WordPress, state-of-the-art semantic personal publishing platform.">WordPress</a></li>
                </ul>
				</div>
			</div>	
		<!-- end left-columns -->
		</div>